package cn.com.shopec.erp.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @ClassName: AuditSetting
 * @Description: 审核金额设置实体表
 * @author: gaoyaxiong
 * @date: 2013-5-26 下午11:14:13
 */
@Entity
@Table(name = "TBL_AUDIT_SETTINGS")
public class AuditSetting {
	private String id;
	/** 用户角色 **/
	private int userRole;
	/** 财务是否审核 **/
	private int auditState;
	/** 金额度 **/
	private String money;
	/** 删除标识 **/
	private int deleteFlag;
	/** 编码 **/
	private String code;

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "USER_ROLE")
	public int getUserRole() {
		return userRole;
	}

	public void setUserRole(int userRole) {
		this.userRole = userRole;
	}

	@Column(name = "AUDIT_STATE")
	public int getAuditState() {
		return auditState;
	}

	public void setAuditState(int auditState) {
		this.auditState = auditState;
	}

	@Column(name = "MONEY")
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	@Column(name = "DELETE_FLAG")
	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	@Column(name = "CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
